<template>
  <div>
    <mheader></mheader>
    <van-tabs v-model="active">
      <van-tab title="标签 2"></van-tab>
      <van-tab title="标签 3"></van-tab>
      <van-tab title="标签 4"></van-tab>
    </van-tabs>
    <template v-for="o in 5">
      <div class="cinema-content"
           :key="o">
        <div>
          <div>
            <span class="name">大地影院</span>
            <span class="price">22.9</span>
            <span class="sign">元起</span>
          </div>
          <p class="address">金州区大连经济技术开发区澳东世纪3层</p>
          <p>
            <span class="label">小吃</span>
            <span class="label">小吃</span>
          </p>
        </div>
        <div>
          1763.5km
        </div>
      </div>
    </template>
    <mfooter :active="active"></mfooter>
  </div>
</template>

<script>
import mheader from '@/components/header'
import mfooter from '@/components/footer'
export default {
  data () {
    return {
      active: 1
    }
  },
  components: {
    mheader,
    mfooter
  }
}
</script>

<style lang="less">
.cinema-content {
  padding: 0.3rem;
  display: flex;
  justify-content: space-between;
  justify-items: center;
  vertical-align: middle;
  align-items: center;
  font-size: 0.4rem;
  div {
    overflow: hidden;
  }
  .name {
    color: #333;
  }
  .price {
    color: #f03d37;
    font-size: 0.5rem;
  }
  .sign {
    color: #f03d37;
  }
  .address {
    font-size: 0.35rem;
  }
  .label {
    font-size: 0.35rem;
    padding: 0 0.1rem;
    line-height: 0.35rem;
    border-radius: 2px;
    color: #f90;
    border: 1px solid #f90;
    margin-right: 0.2rem;
  }
}
</style>
